.class public Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field public a:Landroid/os/Handler;

.field private b:Ljava/lang/String;

.field private c:Landroid/content/Context;

.field private d:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private e:Lcom/waiqin365/lightapp/view/LabelViewH;

.field private f:Lcom/waiqin365/lightapp/view/LabelViewH;

.field private g:Lcom/waiqin365/lightapp/view/LabelViewH;

.field private h:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

.field private i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

.field private j:Lcom/waiqin365/lightapp/kehu/b/am;

.field private k:Lcom/waiqin365/lightapp/kehu/b/am;

.field private l:Ljava/lang/String;

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:Landroid/widget/EditText;

.field private p:Z

.field private q:Lcom/waiqin365/compons/view/c;

.field private r:Ljava/lang/String;

.field private s:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->b:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->p:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->r:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/returngoods/ab;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/returngoods/ab;-><init>(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->a:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->s:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->m:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->c:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->l:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->p:Z

    return v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->q:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 6

    const/16 v2, 0x8

    const/4 v4, 0x1

    const/4 v3, 0x0

    const v0, 0x7f0c0a75

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f0806d5

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const v1, 0x7f08078d

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->d:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0a76

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelViewH;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/LabelViewH;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    const v1, 0x7f0801cb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->j:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setContent(Ljava/lang/String;)V

    const v0, 0x7f0c0a77

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelViewH;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->f:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->k:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->f:Lcom/waiqin365/lightapp/view/LabelViewH;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/LabelViewH;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->f:Lcom/waiqin365/lightapp/view/LabelViewH;

    const v1, 0x7f0807ac

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->f:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v1, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->k:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setContent(Ljava/lang/String;)V

    :goto_0
    const v0, 0x7f0c0a7a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelViewH;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->g:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->g:Lcom/waiqin365/lightapp/view/LabelViewH;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewH;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->g:Lcom/waiqin365/lightapp/view/LabelViewH;

    const v1, 0x7f0806da

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->g:Lcom/waiqin365/lightapp/view/LabelViewH;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u00a5"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->s:Ljava/lang/String;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/e/b;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setContent(Ljava/lang/String;)V

    const v0, 0x7f0c0933

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->o:Landroid/widget/EditText;

    const v0, 0x7f0c0a79

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->h:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->h:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    const v1, 0x7f08069a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->setLabel(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0a78

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const v1, 0x7f0806c9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const v1, 0x7f0806e6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setHintText(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setMViewJbVisible(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    const v1, 0x7f0806ce

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(ZLjava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setType(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->f()Ljava/util/HashMap;

    move-result-object v4

    const-string/jumbo v0, "year"

    invoke-interface {v4, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const-string/jumbo v1, "month"

    invoke-interface {v4, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v2, "day"

    invoke-interface {v4, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    const-string/jumbo v3, "hour"

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    const-string/jumbo v3, "minute"

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, "-"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "-"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->m:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->i:Lcom/waiqin365/lightapp/view/DateViewNoClear;

    new-instance v1, Lcom/waiqin365/lightapp/returngoods/ac;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/returngoods/ac;-><init>(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->setOnDateChangedListener(Lcom/waiqin365/lightapp/view/av;)V

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0806b1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v1, 0x7f0806c7

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/returngoods/ad;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/returngoods/ad;-><init>(Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->q:Lcom/waiqin365/compons/view/c;

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->f:Lcom/waiqin365/lightapp/view/LabelViewH;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelViewH;->setVisibility(I)V

    goto/16 :goto_0
.end method

.method public b()V
    .locals 20

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->s:Ljava/lang/String;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;)Ljava/util/List;

    move-result-object v8

    if-nez v8, :cond_0

    :goto_0
    return-void

    :cond_0
    const-string/jumbo v2, ""

    move-object/from16 v0, p0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    move-object/from16 v0, p0

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v9

    new-instance v10, Ljava/util/HashMap;

    invoke-direct {v10}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "data.cm_id"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->j:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "data.dealer"

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->k:Lcom/waiqin365/lightapp/kehu/b/am;

    if-nez v2, :cond_4

    const-string/jumbo v2, ""

    :goto_1
    invoke-virtual {v10, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "data.remarks"

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->o:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_5

    const-string/jumbo v2, ""

    :goto_2
    invoke-virtual {v10, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "data.return_date"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->m:Ljava/lang/String;

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "data.return_amount"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->s:Ljava/lang/String;

    invoke-static {v4}, Lcom/waiqin365/lightapp/product/e/b;->d(Ljava/lang/String;)D

    move-result-wide v4

    invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v4

    const/4 v5, 0x0

    invoke-static {v3, v4, v5}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->n:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string/jumbo v2, "data.storehouse"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->n:Ljava/lang/String;

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->r:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string/jumbo v2, "data.order_id"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->r:Ljava/lang/String;

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "returnId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2

    const-string/jumbo v2, "data.id"

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "returnId"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "modifyTimeStr"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_3

    const-string/jumbo v2, "data.modify_time_str"

    invoke-virtual/range {p0 .. p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string/jumbo v4, "modifyTimeStr"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_3
    const-wide/16 v4, 0x0

    const-string/jumbo v2, "data.token"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->b:Ljava/lang/String;

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v11, Lorg/json/JSONArray;

    invoke-direct {v11}, Lorg/json/JSONArray;-><init>()V

    const/4 v2, 0x0

    move v3, v2

    :goto_3
    invoke-interface {v8}, Ljava/util/List;->size()I

    move-result v2

    if-ge v3, v2, :cond_b

    new-instance v12, Lorg/json/JSONObject;

    invoke-direct {v12}, Lorg/json/JSONObject;-><init>()V

    invoke-interface {v8, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/base/db/jxccache/g;

    move-object/from16 v0, p0

    iget-object v6, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->c:Landroid/content/Context;

    invoke-static {v6}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v6

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/waiqin365/base/db/offlinedata/w;->e(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v6

    move-object/from16 v0, p0

    iget-object v7, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->c:Landroid/content/Context;

    invoke-static {v7}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v7

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v7, v13}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v13

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v7

    const-wide/16 v14, 0x0

    invoke-static {v7, v14, v15}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v14

    if-nez v6, :cond_6

    const-wide/high16 v6, 0x3ff0000000000000L    # 1.0

    :goto_4
    mul-double/2addr v14, v6

    add-double/2addr v4, v14

    :try_start_0
    const-string/jumbo v6, "id"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->b()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v12, v6, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v7, "order_detail_id"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->c()Ljava/lang/String;

    move-result-object v6

    if-nez v6, :cond_7

    const-string/jumbo v6, ""

    :goto_5
    invoke-virtual {v12, v7, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v6, "price"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v7

    const-wide/16 v16, 0x0

    move-wide/from16 v0, v16

    invoke-static {v7, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v16

    move-wide/from16 v0, v16

    invoke-virtual {v12, v6, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;

    const-string/jumbo v6, "return_count"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v7

    const-wide/16 v16, 0x0

    move-wide/from16 v0, v16

    invoke-static {v7, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v16

    move-wide/from16 v0, v16

    invoke-virtual {v12, v6, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;

    const-string/jumbo v6, "return_amount"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->f()Ljava/lang/Double;

    move-result-object v7

    const-wide/16 v16, 0x0

    move-wide/from16 v0, v16

    invoke-static {v7, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v16

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v7

    const-wide/16 v18, 0x0

    move-wide/from16 v0, v18

    invoke-static {v7, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v18

    mul-double v16, v16, v18

    move-wide/from16 v0, v16

    invoke-virtual {v12, v6, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;

    const-string/jumbo v7, "remarks"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->e()Ljava/lang/String;

    move-result-object v6

    if-nez v6, :cond_8

    const-string/jumbo v6, ""

    :goto_6
    invoke-virtual {v12, v7, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v6, "input_unit"

    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v7

    if-nez v7, :cond_9

    const-string/jumbo v2, ""

    :goto_7
    invoke-virtual {v12, v6, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v6, "base_unit"

    if-nez v13, :cond_a

    const-string/jumbo v2, ""

    :goto_8
    invoke-virtual {v12, v6, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v2, "base_unit_return_count"

    invoke-virtual {v12, v2, v14, v15}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_9
    invoke-virtual {v11, v12}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto/16 :goto_3

    :cond_4
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->k:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    goto/16 :goto_1

    :cond_5
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->o:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_2

    :cond_6
    invoke-virtual {v6}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v6

    const-wide/16 v16, 0x0

    move-wide/from16 v0, v16

    invoke-static {v6, v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v6

    goto/16 :goto_4

    :cond_7
    :try_start_1
    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->c()Ljava/lang/String;

    move-result-object v6

    goto/16 :goto_5

    :cond_8
    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->e()Ljava/lang/String;

    move-result-object v6

    goto :goto_6

    :cond_9
    invoke-virtual {v2}, Lcom/waiqin365/base/db/jxccache/g;->h()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v7, "default"

    const-string/jumbo v16, ""

    move-object/from16 v0, v16

    invoke-virtual {v2, v7, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v2

    goto :goto_7

    :cond_a
    invoke-virtual {v13}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v7, "default"

    const-string/jumbo v13, ""

    invoke-virtual {v2, v7, v13}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v2

    goto :goto_8

    :catch_0
    move-exception v2

    invoke-virtual {v2}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_9

    :cond_b
    const-string/jumbo v2, "data.products"

    invoke-virtual {v11}, Lorg/json/JSONArray;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v2, "data.return_count"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->l:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_c

    move-object/from16 v0, p0

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->p:Z

    if-eqz v2, :cond_c

    const-string/jumbo v2, "data.visit_implement_id"

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->l:Ljava/lang/String;

    invoke-virtual {v10, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_c
    new-instance v2, Lcom/waiqin365/lightapp/returngoods/b/a/h;

    invoke-direct {v2, v9, v10}, Lcom/waiqin365/lightapp/returngoods/b/a/h;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v3, Lcom/waiqin365/lightapp/returngoods/b/b;

    move-object/from16 v0, p0

    iget-object v4, v0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->a:Landroid/os/Handler;

    invoke-direct {v3, v4, v2}, Lcom/waiqin365/lightapp/returngoods/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/returngoods/b/c;)V

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/returngoods/b/b;->start()V

    goto/16 :goto_0
.end method

.method public finish()V
    .locals 0

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/app/Activity;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->finish()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->q:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0091 -> :sswitch_1
        0x7f0c0093 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0301f5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->setContentView(I)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->c:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "storeHouseId"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "storeHouseId"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->n:Ljava/lang/String;

    :cond_0
    :try_start_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v2, "orderId"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->r:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const-string/jumbo v0, "customer"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->j:Lcom/waiqin365/lightapp/kehu/b/am;

    const-string/jumbo v0, "supplier"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->k:Lcom/waiqin365/lightapp/kehu/b/am;

    const-string/jumbo v0, "seniorVisitId"

    invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->l:Ljava/lang/String;

    const-string/jumbo v0, "isSeniorVisit"

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->p:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->p:Z

    if-eqz v0, :cond_1

    const-string/jumbo v0, "return_goods_sv_cache"

    :goto_1
    iput-object v0, p0, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->s:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/returngoods/CustomerReturnGoodsSaveOrderActivity;->a()V

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :cond_1
    const-string/jumbo v0, "return_goods_cache"

    goto :goto_1
.end method
